package com.css.fxfzfxqh.modules.lifelineEngineering.constants;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

public class TypeConstants {

    public static final Map<Integer, String> TYPE_MAP = new HashMap<>();
    static {
        TYPE_MAP.put(1,"地下管网");
        TYPE_MAP.put(2,"水厂水池");
        TYPE_MAP.put(3,"燃气-储气罐");
        TYPE_MAP.put(4,"桥梁");
        TYPE_MAP.put(5,"道路");
        TYPE_MAP.put(6,"变电站");
        TYPE_MAP.put(8,"电缆线路");
        TYPE_MAP.put(9,"通信室内设备");
        TYPE_MAP.put(11,"水厂泵房");
        TYPE_MAP.put(12,"重要发电厂房");
        TYPE_MAP.put(13,"通信基站");
        TYPE_MAP.put(14,"燃气-门店/场站");
        TYPE_MAP.put(15,"供气管网");
    }

    public static String getConstant(Integer key) {
        return TYPE_MAP.get(key);
    }
}
